
<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
     <link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/layout/css/font-awesome.css?v=4.4.0" rel="stylesheet">
     <!-- jqgrid-->
    <link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <style>
      #kindPT tbody tr:nth-child(odd){background:#f7f3f7 }
    </style>
</head>

<body style="color:#333;padding:3px;">
    <!-- 标题 -->
   <form action="" class="form-inline" method="get" id="f1">
      <table class="table-bordered table">
        <tr>
          <td>
              <span class="lr_5"></span>
               省份：
              <select name="sid" id="sid" class="select form-control">
                 <option value="0">请选择</option>
                {volist name="sheng" id="s"}
                <option value="{$s.id}" {if $s.id==$sid} selected{/if}>{$s.title}</option>
                {/volist}
          </select>
              <span class="lr_5"></span>
              财年：
               <select name="cid" id="cid" class="select form-control">
                 {volist name="cainian" id="c"}
                  <option value="{$c.id}" {if $cid==$c.id} selected {/if}>{$c.title}</option>
                 {/volist}
              </select><span class="lr_5"></span><button class="btn-info btn" type="button" id="query"> 查询</button>
        <span class="lr_5"></span><a href="javascript:;" {if $sid} onclick="dc({$cid},{$sid})" {else} onclick="alert('请选择省份')" {/if} class="btn btn-info">导出Excel</a>
          </td>
        </tr>
        <tr>
          <td>
              <p class="font-bold text-center">财年(<span class="selectYear">{$cn.title}</span>)销售营运报表(截至<span class="selectYear1"></span>年12月31日)</p>
              <p class="padding-10 text-right">单位(万元)</p>
             
          </td>
        </tr>
      </table>
	 <div>	 
     {if $sid}
      <table class="tab-content table-bordered text-center table-hover table bud_hei" border="1" style="margin-bottom:1px" id="kindPT">
      	 <tr class="info">
			     <th class="text-center">省份</th>
			     <th class="text-center">项目</th>
			    {volist name="kaohe2" id="k1"}
            <th class="text-center">{$k1.title}</th>
            {/volist}
           <th class="text-center">小计</th>
           <th class="text-center">月平均</th>
			
      	 </tr>
         <tbody style="border:0">
          <tr>
        <td class="text-center" rowspan="6">{$zarr.title}</td>
        <td class="text-center">预计销售目标(元)</td>
        {volist name="$zarr.yjxl" id="xl"}
        <td class="ObjectNum">{$xl}</td>
        {/volist}
        <td class="ObjectNum trTotal">{$zarr.zyjxl}</td>
        <td class="ObjectNum trTotal">{$zarr.ayjxl}</td>
      </tr>
      <tr>
        <td class="text-center">预计费用预算(元)</td>
        {volist name="$zarr.yjfy" id="xl"}
        <td class="ObjectNum">{$xl}</td>
        {/volist}
        <td class="ObjectNum trTotal">{$zarr.zyjfy}</td>
        <td class="ObjectNum trTotal">{$zarr.ayjfy}</td>
      </tr>
      <tr>
        <td class="text-center">实际销售达成(元)</td>
        {volist name="$zarr.xldc" id="xl"}
        <td class="ObjectNum">{$xl}</td>
        {/volist}
        <td class="ObjectNum trTotal">{$zarr.zxldc}</td>
        <td class="ObjectNum trTotal">{$zarr.axldc}</td>
      </tr>
      <tr>
        <td class="text-center">实际费用申请(元)</td>
        {volist name="$zarr.fysq" id="xl"}
        <td class="ObjectNum">{$xl}</td>
        {/volist}
        <td class="ObjectNum trTotal">{$zarr.zfysq}</td>
        <td class="ObjectNum trTotal">{$zarr.afysq}</td>
      </tr>
      <tr>
        <td class="text-center">预计费用率</td>
         {volist name="$zarr.yjfyl" id="xl"}
        <td >{$xl}%</td>
        {/volist}
        <td class="trTotal">{$zarr.zyjfyl}%</td><td class="trTotal">{$zarr.zyjfyl}%</td>
      </tr>
       <tr>
        <td class="text-center">实际费用率</td>
         {volist name="$zarr.sjfyl" id="xl"}
        <td>{$xl}%</td>
        {/volist}
        <td class="trTotal">{$zarr.zsjfyl}%</td><td class="trTotal">{$zarr.zsjfyl}%</td>
      </tr>
     
         
         </tbody>
         <tfoot>
         
         </tfoot>
      </table>
      {/if}
     </div>
</form>
   
    <!-- 全局js -->
    <script src="__STATIC__/layout/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script> -->
    <script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
     <script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
      <script src="__STATIC__/layout/js/common.js"></script>
    <script>
     $("#query").click(function(){
      document.getElementById("f1").submit()
    })
     function dc(cid,sid){
      window.open("{:url('shengyydc')}?cid="+cid+"&sid="+sid)
    }
    </script>
</body>

</html>
